package com.leon.alishop.core.service;

import java.util.List;

import com.leon.alishop.core.model.AttributesModel;

public interface AttributesService {

	public final static String ATTRIBUTES_CACHE_KEY = "all_attributes";
	
	public List<AttributesModel> insertCrawlAttribute(List<AttributesModel> AttributesList);
	
	public List<AttributesModel> findAllAttributeList();
	
	public List<AttributesModel> findAllAttributeListWithCache();
	
	public AttributesModel findAttributeByNameAndType(String name,Integer attrType);
	
	public AttributesModel findAttributeById(Integer attrId);
	
}
